package me.lc.linklinkchrist.scene;

import me.lc.linklinkchrist.layer.LoadingLayer;

import com.wiyun.engine.nodes.Scene;

public class LoadingScene extends Scene {
	private static LoadingScene instance = null;
	private static Object sync_obj = new Object();

	LoadingLayer layer;

	private LoadingScene() {
		layer = new LoadingLayer();
		layer.autoRelease(true);
		addChild(layer);
	}

	public static LoadingScene make() {
		synchronized (sync_obj) {
			if (instance == null) {
				instance = new LoadingScene();
				instance.autoRelease(true);
			}
			return instance;
		}
	}
}
